home *** CD-ROM | disk | FTP | other *** search
/ Gold Medal Software 3 / Gold Medal Software - Volume 3 (Gold Medal) (1994).iso / print / cprncs.arj / CPRINT.TXT < prev    next >
Text File  |  1993-02-17  |  7KB  |  166 lines

  1. CPRINT 2.17 ■ LaserJet Code Printer with Comment Hi-Lighting              ║
  2. Copyright (c) 1991-93 Cactus Software.  All rights reserved.     Cactus ║ ║ ║
  3.                                                                Software ╚═╣ ║
  4. CPRINT is a refinement of the common utility to print          (c) 1993   ╠═╝
  5. "two up" on LaserJet compatible printers.  I wrote CPRINT
  6. after spending half an hour trying to understand a section of someone else's
  7. program, before realizing that that section was commented out.  CPRINT
  8. hi-lights remarks in program code by printing them in bold text.
  9.  
  10. The default print orientation will print two page side by side with each
  11. page containing 66 lines of 80 characters.  The portrait orientation (/P1)
  12. prints a single page with 93 lines of 120 characters.  (Great for reading
  13. long lines of Pascal or C code!)  Lines longer than the maximum are indicated
  14. with a "»" character in the right margin and will be wrapped to the next line
  15. (or truncated if the /W0 option is set).
  16.  
  17. If you use the standard filename extensions for your source files (e.g. .PAS
  18. for Pascal), CPRINT will be able to identify the remarks in your file.  For
  19. non-standard names, specify the remark style using the Language [/Ln] parm.
  20.  
  21. Revision History:
  22.  
  23. 2.17  Added logic to print light background stripes on page.
  24.       Ignore unknown program switches.
  25.       Fixed bug with specifying partial pathnames.
  26.  
  27. 2.16  Fixed network printing problem.
  28.       Fixed printer status check.
  29.  
  30. 2.15  First public release.
  31.  
  32. Usage:   CPRINT input [dest] [options]
  33.  
  34.    input - File(s) to be printed    (e.g. c:\source\*.c*)
  35.     dest - Output (defaults to PRN) (e.g. LPT2: or SOURCE.PRN)
  36.  
  37. Options: (defaults are indicated by '*')
  38.  
  39. Box Style [/Bn]
  40.   /B0  No boxes are printed
  41.  */B1  Each column is boxed
  42.   /B2  Line is printed on the top, bottom and between columns
  43.   /B3  Line is printed on the top and between columns
  44.  
  45. Header Placement [/Hn]
  46.   /H0  No file or page information is printed
  47.   /H1  File and page information across the top of the page
  48.  */H2  File and page information across the bottom of the page
  49.  
  50. Language [/Ln]
  51.  */L0  AutoDetect - determined by extension of filename as shown below
  52.   /L1  Assembler  (.ASM)
  53.   /L2  BASIC      (.BAS)
  54.   /L3  C          (.C, .H, .CPP, .HPP)
  55.   /L4  COBOL      (.COB, .CBL)
  56.   /L5  Pascal     (.PAS, .INC)
  57.  
  58. Portrait [/Pn] - Single column mode
  59.  */P0  Landscape Mode
  60.   /P1  Portrait Mode
  61.  
  62. Remarks [/Rn]
  63.   /R0  Don't hilight remarks
  64.  */R1  Hilight remarks
  65.  
  66. Stripes [/Sn]
  67.  */S0  Don't print stripes
  68.   /S1  Print stripes on page
  69.  
  70. Tab Width [/Tn] - Valid range is 1 to 16
  71.   /Tn  Use /T1 for no tab expansion.  /T8 is the default
  72.  
  73. Wrap Lines [/Wn]
  74.   /W0  Don't wrap lines (lines will be truncated)
  75.  */W1  Wrap lines after 80/120 characters reached (depends on orientation)
  76.  
  77. Notes:
  78.  
  79. - the BASIC REM statement is not recognized.  Use the Quote(') for remarks
  80. - the COBOL REMARKS section is not recognized.  Use (*) in column 7.
  81.  
  82. Custom Graphics:
  83.  
  84. For an additional fee, I will customize your copy of CPRINT so that it
  85. prints a copy of your company logo or other graphics on each page of the
  86. output instead of the Cactus Software logo.
  87.  
  88. You can have up to 3 different graphics in a single copy of CPRINT, selected
  89. with a /Gn option.  The maximum size of an individual graphic is 128 x 64.
  90.  
  91. For a single order of 10 or more licences, you are allowed one free custom
  92. graphic.
  93.  
  94. Ordering Graphics:
  95.  
  96. If you are ordering a customized version of CPRINT, I will require your
  97. logo in Windows BMP format.  The image can be up to 128 x 64 and must be
  98. monochrome.  Alternatively, you can send your logo in the following format:
  99.  
  100. 0000000000000111100000000000000000000000000000000000000000000000011100000000
  101. 0000000000001000010000000000000000010000000000000000000000000000011100000000
  102. 0000000000010000000000000000000000010000000000000000000000000000011100000000
  103. 0000000000010000000001111000111100111100010001000111000000111000011100001110
  104. 0000000000010000000010001001000000010000010001001000000000111000011100001110
  105. 0000000000010000000010001001000000010000010001000111000000111000011100001110
  106. 0000000000001000010010001001000000010010010001000000100000111000011100001110
  107. 0000000000000111100001111000111100001100001111000111000000111000011100001110
  108. 0000000000000000000000000000000000000000000000000000000000111000011100001110
  109. 0000000000000000000000000000000000000000000000000000000000111000011100001110
  110. 0111100000000000011000000000000000000000000000000000000000111111111100001110
  111. 1000010000000000100000100000000000000000000000000000000000111111111100001110
  112. 0100000000000000100000100000000000000000000000000000000000011111111111111110
  113. 0011000001110001111001111000100010001111001011000111000000000000011111111110
  114. 0000100010001000100000100000100010010001001100001000100000000000011111111100
  115. 0000010010001000100000100000101010010001001000001111000000000000011100000000
  116. 1000010010001000100000100100101010010001001000001000000000000000011100000000
  117. 0111100001110000100000011000010100001111001000000111100000000000011100000000
  118.  
  119. Please keep in mind that images that are mostly black (1's in the graphic)
  120. do not work well on the LaserJet.  If you do not send a graphic image defined
  121. as above, but send a business card or letterhead, I will attempt to generate
  122. the image for you.  However, I cannot guarantee that your image will be to
  123. your satisfaction.
  124.  
  125. There should be several print files (.PRN) with your copy of CPRINT.  These     
  126. files are sample printouts with different logos to show the detailed graphics 
  127. that are possible.  To print them, issue the command: COPY *.PRN PRN /B
  128.  
  129. You are permitted to evaluate this software for a two week period.  If you
  130. continue to use it beyond the evaluation period, you must register by sending
  131. CAN$25 / US$20 to the address below.
  132.  
  133. Order Form:                           Date:________________________________
  134.  
  135. Name:_____________________________ Company:________________________________
  136.  
  137. Address:___________________________________________________________________
  138.  
  139. City:_____________________________ Prov/State:_________ Zip/Postal: _______
  140.  
  141. Country:_______________________ Daytime Ph:______________ FAX:_____________
  142.  
  143. Where did you get CPRINT? ________________________Compuserve ID:___________
  144.  
  145. What version of CPRINT do you have?________________________________________
  146.  
  147. Individual License:  ....................................    $25.00
  148.  
  149. Multi-User License:  2-10 ................. ____ x $22 =  _________
  150.                     11-25 ................. ____ x $20 =  _________
  151.                     26-50 ................. ____ x $18 =  _________
  152.                   Over 50 ................. Please Call
  153.  
  154. Custom Graphics:        1 ........................ $25    _________
  155. (please include a disk  2 ........................ $40    _________
  156.  with your logo in      3 ........................ $50    _________
  157.  BMP format.)
  158.                     Ontario Residents add 8% P.S.T.       _________
  159.  
  160.                                             Total         _________
  161.  
  162. Please make cheques payable to Tony Yeung.
  163.  
  164.                       « Tony Yeung - Cactus Software »
  165.      « 147 The Country Way, Kitchener, Ont N2E 2L1 Canada (519) 570-0864 »
  166.